package cn.brian.modular.sys.mapper;

import cn.brian.modular.sys.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * {A07_用户表} Mapper 接口
 *
 * @author 黄景华
 * @date 2018-03-21 04:24:27
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
	List<SysUser> selectUserList(Page<SysUser> page, @Param("sysUser") SysUser sysUser);

	List<SysUser> selectUserList(@Param("sysUser") SysUser sysUser);

	SysUser selectUserByLoginName(@Param("sysUser") SysUser sysUser);

	void deleteRoleUserByUserId(@Param("userId") String userId);
}
